<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item>
      <img src="img/YD/1.png" alt="" @click="fun()">
  </van-swipe-item>
  <van-swipe-item>
      <img src="img/YD/2.jpg" alt="" @click="fun()">
  </van-swipe-item>
  <van-swipe-item>
      <img src="img/YD/3.jpg" alt="" @click="fun()">
  </van-swipe-item>
  <van-swipe-item>
      <img src="img/YD/4.jpg" alt="" @click="fun()">
  </van-swipe-item>
  <van-swipe-item>
      <img src="img/YD/5.jpg" alt="" @click="fun()">
  </van-swipe-item>
  <van-swipe-item>
      <img src="img/YD/6.jpg" alt="" @click="fun()">
  </van-swipe-item>
</van-swipe>
</template>

<script>
export default {
    methods: {
         fun(){
        this.$router.push("/lunbotu")
    }
    },
   
}
</script>

<style scoped>
  .my-swipe .van-swipe-item {
      width: 100%;
      height: 1.6rem;
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    background-color: #39a9ed;
  }
  img{
      width: 100%;
      height: 100%;
  }
</style>